package com.gitee.ykr.lightweight.rpc.registar;

import lombok.Data;

import java.io.Serializable;

/**
 * rpc客户端实例
 * @author YKR
 * @Describe
 * @date 2021/8/23
 */
@Data
public class RpcClientEntity extends RegistrarFactoryBean implements Serializable {
    //序列化id
    private static final long serialVersionUID = 5149083798031489971L;
    //客户端名字
    private String name;
    //同步标记
    private boolean isSyn;
    //客户端host
    private String host;
    //客户端port
    private int port;
    //客户端接口名
    private String rpcClz;
    private int traceIdIndex;

    public void setIsSyn(boolean syn) {
        isSyn = syn;
    }
}
